<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Extension Development</title>
    <style>
      body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100vh;
        margin: 0;
        background-color: #f5f5f5;
      }
      .container {
        text-align: center;
        background-color: white;
        border-radius: 8px;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-width: 800px;
      }
      .links {
        display: flex;
        gap: 1rem;
        margin-top: 2rem;
        justify-content: center;
      }
      a {
        text-decoration: none;
        padding: 0.5rem 1rem;
        background-color: #1677ff;
        color: white;
        border-radius: 4px;
        font-weight: 500;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <h1>浏览器扩展开发模式</h1>
      <p>这是扩展开发模式的入口页面。请选择您要查看的组件：</p>

      <div class="links">
        <a href="/src/popup/index.html">Popup 页面</a>
        <a href="/src/background/index.html">Background 页面</a>
      </div>

      <p style="margin-top: 2rem; color: #666">
        注意：Content script 不能直接通过浏览器访问，它需要被注入到目标页面中。
      </p>
    </div>
  </body>
</html>
